import fetch from '@/utils/request'

export function page(obj) {
  return fetch({
    url: '/api/adminCrm/customerBase/queryList',
    method: 'post',
    data: obj
  })
}

export function getObj(id) {
  return fetch({
    url: '/api/adminCrm/customerBase/' + id,
    method: 'get'
  })
}

export function resetPassword(obj) {
  return fetch({
    url: '/api/adminCrm/customerBase/resetPassword',
    method: 'post',
    data: obj
  })
}

export function updateStatus(obj) {
  return fetch({
    url: '/api/adminCrm/customerBase/updateStatus',
    method: 'post',
    data: obj
  })
}

